
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_learn/utils/base_colors.dart';

class NotSupportPage extends StatelessWidget {
  const NotSupportPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: BaseColors.baseContent,
      body: buildContent(context),
    );
  }

  buildContent(BuildContext context) => Stack(
    alignment: Alignment.bottomCenter,
    children: [
      buildCenterContent(context),
      // buildBuildBottomContent(context)
    ],
  );

  Widget buildCenterContent(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.only(bottom: 110),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          // AssetUtil.svgImage(Assets.svg.notSupport),
          const SizedBox(height:24),
          const Text(
            '暂无页面，敬请期待',
            style: TextStyle(fontSize: 20,color: Colors.red),
          )
        ],
      ),
    );
  }

  // buildBuildBottomContent(BuildContext context) => SafeArea(
  //   child: Column(
  //     mainAxisSize: MainAxisSize.min,
  //     children: [
  //       VolvoDivider.commonFullLineWidget(width: double.infinity, height: 1),
  //       Padding(
  //         padding: EdgeInsets.all(16.w),
  //         child: SizedBox(
  //           height: 48.h,
  //           child: VolvoContainedButton(
  //             labelText: BaseKey.confirmOperation.getString(context),
  //             buttonState: VolvoButtonState.normal,
  //             onPressed: () {
  //               Navigator.maybePop(context);
  //             },
  //           ),
  //         ),
  //       )
  //     ],
  //   ),
  // );

}
